package com.cskaoyan.service;

import com.cskaoyan.bean.marketingmanagementbean.CouponData;
import com.cskaoyan.bean.marketingmanagementbean.CouponUserData;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.MarketCoupon;
import com.cskaoyan.bean.MarketCouponUser;
import com.cskaoyan.bean.wx.home.vo.CouponVo;

import java.util.List;

public interface CouponService {
    CouponData query(BaseParam param, String name, Integer type, Integer status);

    void createCoupon(MarketCoupon marketCoupon);

    void couponUpdate(MarketCoupon marketCoupon);

    void couponDelete(MarketCoupon marketCoupon);

    CouponUserData listuser(BaseParam baseParam, MarketCouponUser marketCouponUser);

    MarketCoupon couponRead(String id);

    List<CouponVo> queryAllBrandCoupon();
}
